# is 用于对象的内存地址是否一致

a = [1, 2, 3]
print(id(a))
b = [1, 2]
print(id(b))
c = [1, 2, 3]
print(id(b))

print(id(a) == id(b))
print(a == c)
print(a is c)
print(id(a) is id(c))
print(id(a) == id(c))
